package crp.core.course.app;

import crp.core.course.domain.services.PlanCourseSearcher;

import javax.enterprise.context.ApplicationScoped;
import javax.enterprise.inject.Instance;

@ApplicationScoped
public class PlanCourseService {
    private final Instance<PlanCourseSearcher> searcher;

    public PlanCourseService(Instance<PlanCourseSearcher> searcher) {
        this.searcher = searcher;
    }

    public PlanCourseSearcher searcher() {
        return searcher.get();
    }
}
